import React from 'react';
import { Text, View, Button } from 'react-native';
export default function Home(props:any) {
  return (
        <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
              <Text>Home</Text>
            <Button onPress={() => {props.navigation.navigate('Login');}} title="退出登录"></Button>  
        </View>
  )
}
